/*
 * @Author: Donald duck tang5722917@163.com
 * @Date: 2024-06-03 11:20:25
 * @LastEditors: Donald duck tang5722917@163.com
 * @LastEditTime: 2024-06-28 18:36:54
 * @FilePath: \mysticism-mud\lpc_atest\lpc_atest.h
 * @Description: 
 * Copyright (c) 2024 by Donald duck email: tang5722917@163.com, All Rights Reserved.
 */
#ifndef  LPC_ATEST
#define  LPC_ATEST

class test_Info {
    int result;           //测试结果判定
    mixed * result_info; //具体测试信息
    string info;          //测试集信息
    object test_ob;       //测试对象
}
#define Test_Info class test_Info 


#define  TEST_ASSERT_EQUAL_STRING(exp,act)  this_object()->assert_equal_string(exp,act)
#define  TEST_ASSERT_EQUAL_OBJECT(exp,act)  this_object()->assert_equal_object(exp,act)    
#define  TEST_ASSERT_EQUAL_INT(exp,act)     this_object()->assert_equal_INT(exp,act)  
#define  TEST_ASSERT_EQUAL_LOGIC(exp,act)   this_object()->assert_equal_Logic(exp,act)
#define  RUN_TEST(func)                     this_object()->run_string(func)

#define PASS 1
#define FAIL 0


#endif
